package com.yangqizhi42.po;

import java.math.BigDecimal;

public class Parts {
    private Integer id;
    private String name;
    private BigDecimal price;
    private Integer serviceRecordId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getServiceRecordId() {
        return serviceRecordId;
    }

    public void setServiceRecordId(Integer serviceRecordId) {
        this.serviceRecordId = serviceRecordId;
    }

    @Override
    public String toString() {
        return "Parts{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", serviceRecordId=" + serviceRecordId +
                '}';
    }
}
